package com.aiobc.business.dataext.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.aiobc.common.core.annotation.Excel;
import com.aiobc.common.core.web.domain.BaseEntity;

/**
 * 数据文件信息（热更新数据）对象 data_info_ext
 * 
 * @author ruoyi
 * @date 2021-10-21
 */
public class DataInfoExt extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 数据ID */
    @Excel(name = "数据ID")
    private String dataId;

    /** 数据刷新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "数据刷新时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date refreshTime;

    /** 数据条数 */
    @Excel(name = "数据条数")
    private Long dataNum;

    /** 数据类型 */
    @Excel(name = "数据类型")
    private String dataType;

    /** 浏览量 */
    @Excel(name = "浏览量")
    private Long viewNum;

    /** 下载量 */
    @Excel(name = "下载量")
    private Long downloadNum;

    /** 调用量 */
    @Excel(name = "调用量")
    private Long callNum;

    /** 评分 */
    @Excel(name = "评分")
    private BigDecimal score;

    /** 乐观锁 */
    @Excel(name = "乐观锁")
    private String revision;

    /** 创建人 */
    @Excel(name = "创建人")
    private String createdBy;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createdTime;

    /** 更新人 */
    @Excel(name = "更新人")
    private String updatedBy;

    /** 更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "更新时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date updatedTime;

    public void setDataId(String dataId) 
    {
        this.dataId = dataId;
    }

    public String getDataId() 
    {
        return dataId;
    }
    public void setRefreshTime(Date refreshTime) 
    {
        this.refreshTime = refreshTime;
    }

    public String getDataType() { return dataType; }
    public void setDataType(String dataType) { this.dataType = dataType; }

    public Date getRefreshTime()
    {
        return refreshTime;
    }
    public void setDataNum(Long dataNum) 
    {
        this.dataNum = dataNum;
    }

    public Long getDataNum() 
    {
        return dataNum;
    }
    public void setViewNum(Long viewNum) 
    {
        this.viewNum = viewNum;
    }

    public Long getViewNum() 
    {
        return viewNum;
    }
    public void setDownloadNum(Long downloadNum) 
    {
        this.downloadNum = downloadNum;
    }

    public Long getDownloadNum() 
    {
        return downloadNum;
    }
    public void setCallNum(Long callNum) 
    {
        this.callNum = callNum;
    }

    public Long getCallNum() 
    {
        return callNum;
    }
    public void setScore(BigDecimal score) 
    {
        this.score = score;
    }

    public BigDecimal getScore() 
    {
        return score;
    }
    public void setRevision(String revision) 
    {
        this.revision = revision;
    }

    public String getRevision() 
    {
        return revision;
    }
    public void setCreatedBy(String createdBy) 
    {
        this.createdBy = createdBy;
    }

    public String getCreatedBy() 
    {
        return createdBy;
    }
    public void setCreatedTime(Date createdTime) 
    {
        this.createdTime = createdTime;
    }

    public Date getCreatedTime() 
    {
        return createdTime;
    }
    public void setUpdatedBy(String updatedBy) 
    {
        this.updatedBy = updatedBy;
    }

    public String getUpdatedBy() 
    {
        return updatedBy;
    }
    public void setUpdatedTime(Date updatedTime) 
    {
        this.updatedTime = updatedTime;
    }

    public Date getUpdatedTime() 
    {
        return updatedTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("dataId", getDataId())
            .append("refreshTime", getRefreshTime())
            .append("dataType",getDataType())
            .append("dataNum", getDataNum())
            .append("viewNum", getViewNum())
            .append("downloadNum", getDownloadNum())
            .append("callNum", getCallNum())
            .append("score", getScore())
            .append("revision", getRevision())
            .append("createdBy", getCreatedBy())
            .append("createdTime", getCreatedTime())
            .append("updatedBy", getUpdatedBy())
            .append("updatedTime", getUpdatedTime())
            .toString();
    }
}
